func math/rand.globalRand
16 uses
math/rand (current package)
rand.go#L318: func globalRand() *Rand {
rand.go#L423: func Int63() int64 { return globalRand().Int63() }
rand.go#L427: func Uint32() uint32 { return globalRand().Uint32() }
rand.go#L431: func Uint64() uint64 { return globalRand().Uint64() }
rand.go#L435: func Int31() int32 { return globalRand().Int31() }
rand.go#L438: func Int() int { return globalRand().Int() }
rand.go#L443: func Int63n(n int64) int64 { return globalRand().Int63n(n) }
rand.go#L448: func Int31n(n int32) int32 { return globalRand().Int31n(n) }
rand.go#L453: func Intn(n int) int { return globalRand().Intn(n) }
rand.go#L457: func Float64() float64 { return globalRand().Float64() }
rand.go#L461: func Float32() float32 { return globalRand().Float32() }
rand.go#L465: func Perm(n int) []int { return globalRand().Perm(n) }
rand.go#L470: func Shuffle(n int, swap func(i, j int)) { globalRand().Shuffle(n, swap) }
rand.go#L477: func Read(p []byte) (n int, err error) { return globalRand().Read(p) }
rand.go#L487: func NormFloat64() float64 { return globalRand().NormFloat64() }
rand.go#L496: func ExpFloat64() float64 { return globalRand().ExpFloat64() }
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |